﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ChessboardView.xaml.cs" company="">
//   
// </copyright>
//  <summary>
//   Interaction logic for ChessboardView.xaml
// </summary>
// --------------------------------------------------------------------------------------------------------------------
namespace Shatranj
{
    using System.Windows.Input;

    /// <summary>
    ///     Interaction logic for ChessboardView.xaml
    /// </summary>
    public partial class ChessboardView
    {
        #region Constructors and Destructors

        /// <summary>
        /// Initializes a new instance of the <see cref="ChessboardView"/> class.
        /// </summary>
        public ChessboardView()
        {
            this.InitializeComponent();
            this.LoadBoard();
        }

        #endregion

        #region Public Methods and Operators

        /// <summary>
        /// The load board.
        /// </summary>
        public void LoadBoard()
        {
            // this.DataContext = new ChessboardViewModel();
        }

        #endregion

        #region Methods

        /// <summary>
        /// The command binding_ executed.
        /// </summary>
        /// <param name="sender">
        /// The sender.
        /// </param>
        /// <param name="e">
        /// The e.
        /// </param>
        private void CommandBinding_Executed(object sender, ExecutedRoutedEventArgs e)
        {
        }

        #endregion
    }
}